import Search from './Search'
import SearchIndex from './SearchIndex'
import SearchResult from './SearchResult'

export default {
  path: '/search',
  // name: 'search',
  component: Search,
  // redirect: 'search',
  children: [
    {
      path: '',
      name: 'search',
      component: SearchIndex,
      meta: {
        title: '图书检索'
      }
    },
    {
      path: ':keyword',
      name: 'searchResult',
      component: SearchResult,
      meta: {
        title: '图书检索'
      }
    }
  ]
}
